package com.cjm.task2;

import com.cjm.task2.impl.Task2AutoConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class Task2Application {

    public static void main(String[] args) {
        //SpringApplication.run(Task2Application.class, args);
        SpringApplication application = new SpringApplication(Task2Application.class);
        application.addListeners(new Task2AutoConfig.ListenerTwo());
        application.run(args);
    }

}
